package com.item.Service.ImpI;

import com.item.Dao.UserDao;
import com.item.POJO.User;
import com.item.Service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("userService")
public class UserServiceImpI implements UserService {
    @Autowired
    private UserDao userDao;
    @Override
    public User findUser(String usercode, String password) {
        return userDao.findUser(usercode,password);
    }
}
